package com.vdong.supplier.response.supplierbird;

import java.util.List;

/**
 * 即时查询api api http://www.kdniao.com/api-track
 *
 * @author liangwei
 */
public class EbusinessOrderHandleResponse implements ResponseParent {

    /**
     * 用户ID
     */
    private String EBusinessID;
    /**
     * 订单编号
     */
    private String OrderCode;
    /**
     * 快递公司编码
     */
    private String ShipperCode;
    /**
     * 物流运单号
     */
    private String LogisticCode;
    /**
     * 成功与否
     */
    private boolean success;
    /**
     * 失败原因
     */
    private String Reason;
    /**
     * 物流状态：2-在途中,3-签收,4-问题件
     */
    private String State;
    private String StateEx;
    private String Location;

    public String getStateEx() {
        return StateEx;
    }

    public void setStateEx(String stateEx) {
        StateEx = stateEx;
    }

    public String getLocation() {
        return Location;
    }

    public void setLocation(String location) {
        Location = location;
    }

    private List<Traces> Traces;

    public String getEBusinessID() {
        return EBusinessID;
    }

    public void setEBusinessID(String eBusinessID) {
        EBusinessID = eBusinessID;
    }

    public String getOrderCode() {
        return OrderCode;
    }

    public void setOrderCode(String orderCode) {
        OrderCode = orderCode;
    }

    public String getShipperCode() {
        return ShipperCode;
    }

    public void setShipperCode(String shipperCode) {
        ShipperCode = shipperCode;
    }

    public String getLogisticCode() {
        return LogisticCode;
    }

    public void setLogisticCode(String logisticCode) {
        LogisticCode = logisticCode;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getReason() {
        return Reason;
    }

    public void setReason(String reason) {
        Reason = reason;
    }

    public String getState() {
        return State;
    }

    public void setState(String state) {
        State = state;
    }

    public List<Traces> getTraces() {
        return Traces;
    }

    public void setTraces(List<Traces> traces) {
        Traces = traces;
    }

    @Override
    public String toString() {
        return "EbusinessOrderHandleResponse [EBusinessID=" + EBusinessID + ", OrderCode=" + OrderCode
                + ", ShipperCode=" + ShipperCode + ", LogisticCode=" + LogisticCode + ", success=" + success
                + ", Reason=" + Reason + ", State=" + State + ", Traces=" + Traces + "]";
    }

}
